<% content_for :title do %>一级分类列表<% end %>
<%= link_to '新建一级分类', new_data_type_path,:class=>'btn btn-primary btn-sm' %>
<%= render :partial => "/data_types/grid",:locals=>{:data_types=>@data_types} %>
